import os

DEBUG = False
TEMPLATE_DEBUG = DEBUG

PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))

TEMPLATE_LOADERS = (
    ('django.template.loaders.cached.Loader',
        ('django.template.loaders.app_directories.Loader',)
    ),
)

TEMPLATE_CONTEXT_PROCESSORS = (
    'django.contrib.messages.context_processors.messages',
    'django.core.context_processors.static',
    'core.extensions.context_processors.auth',
)

MIDDLEWARE_CLASSES = (
    'django.middleware.transaction.TransactionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
)

INSTALLED_APPS = (
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'django_ipgeobase',
    'south',
    'core',
)

IPGEOBASE_SEND_MESSAGE_FOR_ERRORS = False

TEMPLATE_DIRS = ()

ROOT_URLCONF = 'urls'

STATIC_URL = '/static/'

MEDIA_URL = '/media/'

ADMINS = (
    ('Alexander Elmekeev', 'donamok@gmail.com'),
    ('Nikita Merinov', 'nikita.merinov@gmail.com'),
)

MANAGERS = ADMINS

TIME_ZONE = 'Europe/Moscow'

LANGUAGE_CODE = 'ru-ru'

USE_I18N = False

USE_L10N = True

# The following settings must be defined in local_settings.py:
#   DATABASES
#   SECRET_KEY
#   STATIC_ROOT
#   MEDIA_ROOT

from local_settings import *
